package com.arvin.pojo;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "email")
public class EmailProperties {
    public String user; //发件人邮箱
    public String code;//发件人邮箱授权码
    public String host;//发件人邮箱对应的服务器
    private boolean auth;//身份验证开关

}
